package com.meixiang.entity.shopping.result;

import com.meixiang.entity.shopping.GoodsParameterEntity;

import java.util.List;

/**
 * 商品参数Result
 *
 * @author LZRUI
 */
public class GoodsParameterResult {
    private String goodsSerial;// 商品编码
    private String goodsId;// 商品id
    private String goodsName; // 商品名称
    private List<GoodsParameterEntity> goodsParameterList; // 参数列表

    public GoodsParameterResult(String goodsSerial, String goodsId, String goodsName, List<GoodsParameterEntity> goodsParameterList) {
        this.goodsSerial = goodsSerial;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsParameterList = goodsParameterList;
    }

    public GoodsParameterResult() {
    }

    public String getGoodsSerial() {
        return goodsSerial == null ? "" : goodsSerial;
    }

    public void setGoodsSerial(String goodsSerial) {
        this.goodsSerial = goodsSerial;
    }

    public String getGoodsId() {
        return goodsId == null ? "" : goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName == null ? "" : goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public List<GoodsParameterEntity> getGoodsParameterList() {
        return goodsParameterList;
    }

    public void setGoodsParameterList(List<GoodsParameterEntity> goodsParameterList) {
        this.goodsParameterList = goodsParameterList;
    }
}
